package org.lzy.aibg.service.impl;

import org.lzy.aibg.dao.UserDao;
import org.lzy.aibg.pojo.User;
import org.lzy.aibg.service.UserService;

import java.util.List;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao){this.userDao = userDao;}


    @Override
    public List<User> getALl() {
        System.out.println("getAll in UserServiceImpl");
        return userDao.selectAll();
    }
}
